<?php 
	Class MainAction extends CommonAction{
		
		Public function index() {
			// if($_GET['username']=='0'){
			// 	// $this->redirect(GROUP_NAME . '/Index/index');
 
			// 	echo "<script type='text/javascript'>alert('1');</script>";	
			// }
			$user = M('user');
			$where['username'] = $_GET['username'];
			$this->qx = $user->where($where)->select();
			// var_dump($qx['identity']);
			$this->display();
		}

		// Public function out(){
		// 	// p(__GROUP__ . '/Index/index');
		// 	$this->redirect('Index/index');
		// }

		

	}
 ?>
